package com.carpark.ejb.DAO;

import com.carpark.ejb.Model.AccountingdataModel;
import java.util.Collection;
import java.util.List;
import javax.ejb.Local;
import javax.ejb.Remote;

/**
 *
 * @author Sawior
 */
@Local
interface AccountingdataDAO {
    
    public AccountingdataModel getAccountingDataById(Integer id);
    
    public Collection<AccountingdataModel> getAccountingDataByName(String name);
    
    public Collection<AccountingdataModel> getAccountingDataByCity(String city);
    
    public Collection<AccountingdataModel> getAccountingDataByZipCode(String zipCode);
            
    public Collection<AccountingdataModel> getAccountingDataByPayerType(String payerType);        
    
    public void addAccountingData(AccountingdataModel accountingData);
    
    public void removeAccountingData(Integer id);
    
    public AccountingdataModel updateAccountingData(AccountingdataModel accountingData);
    
    public int getAccountingDataSize();
    
    public List<AccountingdataModel> getAllAccountingData();
    
    public void updateAccData(AccountingdataModel accountingdataModel);
}
